package com.norma.spring.service.impl;

import com.norma.spring.core.annotation.NormaMapping;
import com.norma.spring.core.annotation.NormaParam;
import com.norma.spring.core.annotation.NormaService;
import com.norma.spring.pojo.User;
import com.norma.spring.service.IUserService;

/**
 * @author zhangchaofeng
 * @date 2020/11/6
 * @description
 */
@NormaService
public class UserServiceImpl implements IUserService {

    @Override
    @NormaMapping("/user/info")
    public User getUserInfo(String id,String name) {
        return new User(id,name);
    }
}
